import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AgentListComponent } from './agent-list/agent-list.component';
import { AgentLevelListComponent } from './agent-level-list/agent-level-list.component';
import { AgentDetailComponent } from './agent-list/agent-detail/agent-detail.component';
import { AgentDirectorComponent } from './director/director.component';
import { AgentLevelChangeRecordComponent } from './agent-level-change-record/agent-level-change-record.component';
import { AgentLevelApplicationTabComponent } from './level-application-tab/level-application-tab.component';

const routes: Routes = [
  { path: 'list', component: AgentListComponent },
  { path: 'list/agent-detail', component: AgentDetailComponent },
  { path: 'level-list', component: AgentLevelListComponent },
  { path: 'director', component: AgentDirectorComponent },
  { path: 'record', component: AgentLevelChangeRecordComponent },
  { path: 'level-application', component: AgentLevelApplicationTabComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AgentRoutingModule { }
